<template>
  <el-scrollbar :vertical="false" class="scroll-container">
    <slot />
  </el-scrollbar>
</template>

<style lang="scss" scoped>
  .scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    // 超出窗口长度时，显示滚动条
    white-space: nowrap;
  }
</style>
